home *** CD-ROM | disk | FTP | other *** search
- (*===========================================================================*)
- (* In line macros for faster execution *)
- (* *)
- (* Copyright 1989 by H. Roy Engehausen. All rights reserved. *)
- (* This software may be freely distributed AND used, but it may not *)
- (* under any circumstances be sold by anyone other than the author. *)
- (* It may be distributed by a commercial company as long as it is *)
- (* FOR no cost. *)
- (* *)
- (*===========================================================================*)
-
- (*===========================================================================*)
- (* MIN(x, y) -- For words *)
- (*===========================================================================*)
-
- FUNCTION min_w(n1 : WORD; n2 : WORD) : WORD;
-
- (*-------------------------------------------------------------------------*)
- (* *)
- (* POP AX *)
- (* POP BX *)
- (* CMP AX,BX *)
- (* JBE Z *)
- (* MOV AX,BX *)
- (* Z: *)
- (* *)
- (*-------------------------------------------------------------------------*)
-
- INLINE($58/$5B/$3B/$C3/$76/$02/$8B/$C3);